* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    background-color: #f5f5f5;
    color: #333;
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    transform: translateX(-220px);
    transition: transform 0.3s ease;
    z-index: 100;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    width: 30px;
    height: 30px;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 20px;
}

.sidebar-content {
    padding: 20px;
    padding-top: 50px;
}

.sidebar-content h2 {
    margin-bottom: 15px;
}

.sidebar-content ul {
    list-style-type: none;
}

.sidebar-content li {
    margin-bottom: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
}

.sidebar-content li:hover {
    background-color: #34495e;
}

.sidebar-content li.active {
    background-color: #3498db;
}

/* 幻灯片容器 */
.slides-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 幻灯片样式 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: white;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.slide h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.slide h3 {
    font-size: 1.5em;
    color: #7f8c8d;
}

.slide ul, .slide ol {
    text-align: left;
    margin: 20px auto;
    max-width: 800px;
}

.slide li {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.slide p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 20px auto;
}

.image-container {
    margin: 20px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 控制按钮 */
.controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 100;
}

.controls button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.controls button:hover {
    background-color: #2980b9;
}

#slideCounter {
    font-size: 18px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 2em;
    }
    
    .slide h2 {
        font-size: 1.8em;
    }
    
    .slide p, .slide li {
        font-size: 1.2em;
    }
    
    .controls button {
        padding: 8px 15px;
        font-size: 14px;
    }
}